﻿
using NetCourse.Framework.Database;
using System.ComponentModel.DataAnnotations;

namespace Xmu.Stores.Models
{
    // 考试类
    public class Exam : EntityBase
    {
        public Guid ExamId { get; set; } = Guid.NewGuid();

        [Required]
        public string ExamName { get; set; }

        [Required]
        public DateTime RegistrationStartTime { get; set; }

        [Required]
        public DateTime RegistrationEndTime { get; set; }

        [Required]
        public DateTime ScheduleStartTime { get; set; }

        [Required]
        public DateTime ScheduleEndTime { get; set; }

        [Required]
        public DateTime ExamStartTime { get; set; }

        [Required]
        public DateTime ExamEndTime { get; set; }
    }
}
